package com.huazai;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 *
 * @author huazai
 * @date 2024/2/2
 */
public class LSaleTick {
    public static void main(String[] args) {
        // 可重入锁
        ReentrantLock lock = new ReentrantLock();
        lock.lock();

        try {


        }finally {
            lock.unlock();
        }

    }
}
